home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
gfx
/
misc
/
VideoEasel.lha
/
Video Easel
/
CAMRexx
/
HPP-Gas_Borders.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-04-09
|
950b
|
38 lines
/* HPP-Gas by an idea of Toffoli, in CAMRexx by THOR */
MakeAlgorithm:
if plane=0 then
PLANEALGORITHM margolus hvphases
if plane=1 then
PLANEALGORITHM echo center1
return
MakePlane:
if plane=0 then; do
if center_ then
SETPLANE off
else; do
if (center=opp & cw=ccw & center~=cw) | opp_ then
do
if opp_ then; do
if cw_=ccw_ then
SETPLANE center
else; do
if cw_ then
SETPLANE ccw
if ccw_ then
SETPLANE cw
end
end; else; do
if cw_ | ccw_ then
SETPLANE center
else
SETPLANE cw
end
end
else SETPLANE opp
end
end
return